The tray should never close on its own, without the user's input.
https://bugzilla.gnome.org/show_bug.cgi?id=700639
this._ensureNotificationFocused();
}
- let notificationsVisible = this._notificationState != State.HIDDEN;
- let notificationsDone = !notificationsVisible && !notificationsPending;
-
- let mustHideTray = ((notificationsPending && notificationUrgent)
- || notificationsVisible || !Main.sessionMode.hasNotifications);
+ let mustHideTray = this._notificationState != State.HIDDEN || !Main.sessionMode.hasNotifications;
// Summary notification
let haveClickedSummaryItem = this._clickedSummaryItem != null;